package com.sakura.property.method1;/**
 * Created by apple on 2019/3/25.
 */

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author jixd
 * @Description TODO
 * @Date 2019/3/25 11:32 AM
 * @Version 1.0
 **/
@Component
@ConfigurationProperties("com.sakura")
public class PropertiesConfig {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
